import React, { PureComponent } from 'react';

import { Icon, Affix, Popover } from 'antd';

import styles from './mbody.less'


// @connect(state => ({

// }))

export default class MBody extends PureComponent {
  state = {
  }
  componentWillMount() {

  }
  componentWillUnmount() {

  }

  render() {
    let {sidebarBlockList} =this.props
    return (
      <div className={styles['creator-struct-canvas']}>
        <div className={styles['sidebar-block-list']}>
          <SidebarBlockList {...sidebarBlockList}/>
        </div>
        <div className={styles['content']}>

        </div>
      </div>
    );
  }
}

class SidebarBlockList extends PureComponent {
  render() {
    console.log(this.props)
    return(
      <div></div>
    )
  }
}
